\name{plot-methods}
\docType{methods}
\alias{plot-methods}
\alias{symbols-methods}
\alias{plot,DotStack,missing-method}
\alias{symbols,DotStack-method}
\alias{plot,VASummaryObject,missing-method}
\alias{plot,SEMSummary,missing-method}
\title{Methods for Plot in the Jmisc package}
\description{
Methods for plotting objects of class \code{DotStack} and \code{VASummaryObject}.
}
\section{Methods}{
For plotting the \code{DotStack} class, there are two methods.  The primary is for \code{symbols} but there is a simple \code{plot} method which dispatches to \code{symbols}.
\describe{
\item{\code{signature(x = "DotStack", y = "missing")}}{
This is primarily a convenience method.  Currently objects of class \code{DotStack} are plotted via \code{\link{symbols}}.  However, calling \code{plot} on a DotStack object will override the default y axis and replace coordinates with numbers counting the height of the bars (to give a sense of frequency).
}
}
The \code{symbols} method is
\describe{
\item{\code{signature(x = "DotStack")}}{

  The values passed on to the generic method are:
  \code{x = x@x, y = x@y, circles = rep(x@h, length(x@x)), inches = FALSE, add = FALSE, bg = color, asp = 1}

  By default (though these can be overwritten) it will use "Stacked Dot Plot" as the main title, the value stored in \code{x@name} as the x axis label, and "Density" as the y axis label.
}
}
The \code{plot} method for the \code{VASummaryObject} class
\describe{
\item{\code{signature(x = "VASummaryObject", y = "missing")}}{
Three plots are created, the left and right eye (OS and OD, respectively) logMAR values on the x axis with the combined logMAR values on the y axis, and a stacked dot plot of the distribution of the combined logMAR values.
}
}}
\usage{
\S4method{plot}{DotStack,missing}(x, y, yaxt = NULL, ylim = NULL, ...)
}
\arguments{
  \item{x}{An object of class \code{DotStack}}
  \item{y}{Specified as missing in the signature.}
  \item{yaxt}{A character (graphical parameter) which specifies the y axis type.  Specifying.  See \code{\link{par}} for more details.  Defaults to \code{NULL}, in which case the default axis is suppressed, and an alternate is created that labels the number of dots in a stack rather than the actual plot coordinates.}
  \item{ylim}{A vector specifying the limits of y.  Should be of length 2.  Defaults to \code{NULL} in which case the limits are generated automatically when the data is passed of to the \code{symbols} function.}
  \item{\dots}{Additional arguments to be passed to \code{symbols}.}
}
\keyword{methods}
